package bom.example.common.excel.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author X.I.O
 * @title: ImportTestDatasReq
 * @projectName springboot
 * @description: TODO
 * @date 2021/10/31 13:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ImportTestDatasReq implements Serializable {

    @ExcelProperty(value = "userName")
    @ApiModelProperty("用户姓名")
    private String userName;

    @ExcelProperty(value = "address")
    @ApiModelProperty("地址")
    private String address;

    @ExcelProperty(value = "price")
    @ApiModelProperty("价格")
    private BigDecimal price;

    @ExcelProperty(value = "createDate")
    @ApiModelProperty("创建时间")
    private Date createDate;


}
